// 云函数入口文件
const cloud = require('wx-server-sdk')

cloud.init({
  env: 'online-00000'
})

// 云函数入口函数
exports.main = async (event, context) => {
  let time=new Date().getTime()+3600*1000*8;
  let now=new Date(time);
  let h=now.getHours();
  return {
    status:(h>=0&&h<16)?true:false
  }
}